package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 库存对象 inventorys
 * 
 * @author he
 * @date 2025-09-17
 */
public class Inventorys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /**  租户ID */
    private Long tenantId;

    /**  创建id */
    private Long createUserId;

    /**  创建机构id */
    private Long createOrgId;

    /**  创建用户名 */
    private String createUserName;

    /**  修改用户ID */
    private Long updateUserId;

    /**  修改用户名 */
    private String updateUserName;

    /**  是否删除 */
    private Long isDelete;

    /**  机构ID */
    private Long orgId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long stockId;
    private String stockName;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;
    private String goodsName;
    private String model;
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal goodsCount;

    /** 创建机构名 */
    private String createOrgName;

    /** 包数 */
    @Excel(name = "包数")
    private BigDecimal packageNum;

    /** 立方 */
    @Excel(name = "立方")
    private BigDecimal cube;

    /**   */
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public void setCreateOrgId(Long createOrgId) 
    {
        this.createOrgId = createOrgId;
    }

    public Long getCreateOrgId() 
    {
        return createOrgId;
    }

    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }

    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }

    public void setUpdateUserName(String updateUserName) 
    {
        this.updateUserName = updateUserName;
    }

    public String getUpdateUserName() 
    {
        return updateUserName;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setGoodsCount(BigDecimal goodsCount)
    {
        this.goodsCount = goodsCount;
    }

    public BigDecimal getGoodsCount()
    {
        return goodsCount;
    }

    public void setCreateOrgName(String createOrgName) 
    {
        this.createOrgName = createOrgName;
    }

    public String getCreateOrgName() 
    {
        return createOrgName;
    }

    public void setPackageNum(BigDecimal packageNum)
    {
        this.packageNum = packageNum;
    }

    public BigDecimal getPackageNum()
    {
        return packageNum;
    }

    public void setCube(BigDecimal cube)
    {
        this.cube = cube;
    }

    public BigDecimal getCube()
    {
        return cube;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUserId", getCreateUserId())
            .append("createOrgId", getCreateOrgId())
            .append("createUserName", getCreateUserName())
            .append("updateUserId", getUpdateUserId())
            .append("updateUserName", getUpdateUserName())
            .append("isDelete", getIsDelete())
            .append("orgId", getOrgId())
            .append("name", getName())
            .append("stockId", getStockId())
            .append("goodsId", getGoodsId())
            .append("goodsCount", getGoodsCount())
            .append("createOrgName", getCreateOrgName())
            .append("packageNum", getPackageNum())
            .append("cube", getCube())
            .append("remarks", getRemarks())
            .toString();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
